05. Comparing Speeds

Comparing Speeds

You just compared the run time of two functionally equivalent programs. Did you notice a difference?

How much faster is C++?

Based on testing the move function, how much faster is C++ for a computer to execute when compared to Python? (Give an approximate answer).

SOLUTION: C++ is more than twice as fast as Python

Speed of development

If you only had a day to write code for a localization prototype, which language would you develop in?

SOLUTION: Python

But Why?

You probably noticed that C++ ran significantly faster than Python. In the next course you'll learn more about why C++ is able to run so much faster.